Heap Sort

Uses a binary heap data structure to sort elements efficiently with O(n log n) time complexity.